import { Module } from '@nestjs/common';
import { CalendarService } from './calendar.service';
import { CalendarController } from './calendar.controller';
import { RedisCacheModule } from 'src/cache/cache.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Calendar } from './calendar.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Calendar]),
    RedisCacheModule
  ],
  providers: [CalendarService],
  controllers: [CalendarController]
})
export class CalendarModule { }
